package com.hqd.ch03.v42.web.servlet;

import javax.servlet.http.HttpServletRequest;

/**
 * 请求视图转换器
 */
public interface RequestToViewNameTranslator {

    /**
     * 获取视图名
     *
     * @param request
     * @return
     * @throws Exception
     */
    String getViewName(HttpServletRequest request) throws Exception;
}